(grep-regexp-alist): Remove the blank from
authorEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2001 11:51:01 +0000 (11:51 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 16 Feb 2001 11:51:01 +0000 (11:51 +0000)
the character class after the (optional) drive, to support file
names with embedded blanks.

lisp/progmodes/compile.el

index 2f33166e1f4d96229a588a81ea6c0dcb25a190f4..7bb976d1656f81d563492d091440f506f3cb78de 100644 (file)
@@ -397,8 +397,10 @@ Otherwise, it saves all modified buffers without asking."
   :type 'boolean
   :group 'compilation)
 
+;; Note: the character class after the optional drive letter does not
+;; include a space to support file names with blanks.
 (defvar grep-regexp-alist
-  '(("\\([a-zA-Z]?:?[^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))
+  '(("\\([a-zA-Z]?:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))
   "Regexp used to match grep hits.  See `compilation-error-regexp-alist'.")
 
 (defvar grep-program